﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyThuVien.VO
{
    public class NguoiDung
    {
        private String tenNguoiDung;

        public String TenNguoiDung
        {
            get { return tenNguoiDung; }
            set { tenNguoiDung = value; }
        }
        private String matKhau;

        public String MatKhau
        {
            get { return matKhau; }
            set { matKhau = value; }
        }
        private bool quyenQuanLyNguoiDung;

        public bool QuyenQuanLyNguoiDung
        {
            get { return quyenQuanLyNguoiDung; }
            set { quyenQuanLyNguoiDung = value; }
        }
        private bool quyenQuanLyDocGia;

        public bool QuyenQuanLyDocGia
        {
            get { return quyenQuanLyDocGia; }
            set { quyenQuanLyDocGia = value; }
        }
        private bool quyenQuanLySach;

        public bool QuyenQuanLySach
        {
            get { return quyenQuanLySach; }
            set { quyenQuanLySach = value; }
        }
        private bool quyenQuanLyThongTinMuonTra;

        public bool QuyenQuanLyThongTinMuonTra
        {
            get { return quyenQuanLyThongTinMuonTra; }
            set { quyenQuanLyThongTinMuonTra = value; }
        }

        public NguoiDung(String tenNguoiDung, String matKhau,
            bool quyenQuanLyNguoiDung,
            bool quyenQuanLyDocGia,
            bool quyenQuanLySach,
            bool quyenQuanLyThongTinMuonTra
            )
        {
            this.tenNguoiDung = tenNguoiDung;
            this.matKhau = matKhau;
            this.quyenQuanLyDocGia = quyenQuanLyDocGia;
            this.quyenQuanLyNguoiDung = quyenQuanLyNguoiDung;
            this.quyenQuanLyThongTinMuonTra = quyenQuanLyThongTinMuonTra;
            this.quyenQuanLySach = quyenQuanLySach;
        }
    }
}
